const api = {
	state: {
		// 全局变量接口
		api: {
			GLOBAL_device_getDeviceInfo: "/device/getDevices", //设备列表
			GLOBAL_account_login: "/account/login", //登陆
			GLOBAL_finger_getFingers: "/finger/getFingers", //查询已录入指纹信息列表
			GLOBAL_device_fingerAdd: "/device/fingerAdd", //指纹录入
			GLOBAL_device_fingerClear: "/device/fingerClear", //指纹清空
			GLOBAL_device_fingerDel: "/device/fingerDel", //指纹删除
			GLOBAL_device_wifiSearch: "/device/wifiSearch", //WiFi检索
			GLOBAL_device_wifiConnect: "/device/wifiConnect", //WiFi链接
			GLOBAL_device_wificlose: "/device/wificlose", //WiFi关闭
			GLOBAL_device_unlockID: "/device/unlockID", //无指纹解锁
			GLOBAL_device_transformModel: "/device/transformModel", //改变运行模式
			GLOBAL_device_sleepSet: "/device/sleepSet", //设置休眠
			GLOBAL_device_init: "/device/init", //设备初始化
			GLOBAL_device_lock: "/device/lock", //设备锁定
			GLOBAL_device_applicationPush: "/device/applicationPush", //推送申请单
			GLOBAL_device_applicationClose: "/device/applicationClose", //关闭结束申请单
			GLOBAL_device_update: "/device/update", //更新印章名称
			GLOBAL_sealRecordInfo_list: "/sealRecordInfo/list", //使用记录
			GLOBAL_log_list: "/log/list", //日志记录
			GLOBAL_log_cmds: "/log/cmds", //协议号
			
			
			//应用中心
			GLOBAL_app_get: "/app/get", //查询app信息
			GLOBAL_app_update: "/app/update", //更新应用基础信息
			GLOBAL_app_add: "/app/add", //更新应用基础信息
			GLOBAL_app_delete: "/app/delete", //更新应用基础信息
			GLOBAL_device_bindApp: "/device/bindApp", //更新应用基础信息
			GLOBAL_account_updateRemoteHost: "/account/updateRemoteHost", //修改远程登录IP地址列表
			GLOBAL_account_changePwd: "/account/changePwd", //修改密码
			GLOBAL_account_logout: "/account/logout", //登出
			GLOBAL_log_logFiles: "/log/logFiles", //系统日志列表
			GLOBAL_log_getLogFile: "/log/getLogFile", //系统日志下载
			GLOBAL_sealRecordInfo_retryMessage: "/sealRecordInfo/retryMessage", //获取重试消息内容
			GLOBAL_sealRecordInfo_retry: "/sealRecordInfo/retry", //确认重试
			
			
			
			
			
		}
	},
	mutations: {
		SET_BREADCRUMB: (state, breadcrumb) => {
			state.breadcrumb = breadcrumb
		},
	},
	actions: {
		SET_BREADCRUMB({
			commit
		}, userInfo) {
			return new Promise((resolve, reject) => {
				commit('SET_BREADCRUMB')
				resolve()
			})
		}
	}
}

export default api
